package com.neuedu.heartapi.service.impl;

import com.neuedu.heartapi.mapper.CardioAgeMapper;
import com.neuedu.heartapi.pojo.CardioAge;
import com.neuedu.heartapi.service.CardioAgeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CardioAgeServiceImpl implements CardioAgeService {
    @Autowired
    private CardioAgeMapper cardioAgeMapper;
    @Override
    public List<CardioAge> queryAllCardioAge() {
        return cardioAgeMapper.queryAllCardioAge();
    }
}
